package Modele;

public class MonstreCarte extends Contenu {

	private Monstre monstre;
	private int nombre;
	int x;
	int y;
	
	public MonstreCarte(Monstre m, int n, int x, int y) {
		this.monstre = m;
		this.nombre = n;
		this.x = x;
		this.y = y;
	}
	
	public int getX() {
		return this.x;
	}
	
	public int getY() {
		return this.y;
	}
	
	public Monstre getMonstre() {
		return this.monstre;
	}
	
	public int getQuantite() {
		return this.nombre;
	}
	
	public String toString() {
		return "Nombre de monstres : " + this.nombre + "\n" + this.monstre.toString();
	}
}
